/* pages/exam/exam-wrong/exam-wrong.less */
@text-gray: #999;

.exam-container {
  padding: 20rpx;
  height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* 进度条区域 */
.progress-bar {
  display: flex;
  width: 100vw;
  align-items: center;
  padding: 20rpx 0;
  background: #fff;
  border-bottom: 1rpx solid #f0f0f0;
  position: relative;
  z-index: 10;
  box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.06); // 添加轻微阴影

  .batch-text {
    flex: 0 0 auto;
    font-size: 26rpx;
    color: @text-gray;
    padding-left: 40rpx;
  }

  .percent-text {
    flex: 0 0 auto;
    font-size: 28rpx;
    color: #1890FF; // 使用主色
    min-width: 80rpx;
    text-align: right;
    font-weight: 500;
    margin-left: auto;
    padding-right: 40rpx;
  }
}


.question-swiper {
  flex: 1;
  min-height: 0;
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20rpx;
  
  .nav-button {
    width: 45%;
    border-radius: 10rpx;
  }
  
  .prev-button {
    background-color: #f0f0f0;
    color: #333;
    
    &[disabled] {
      opacity: 0.5;
    }
  }
  
  .next-button {
    background-color: #1a2a6c;
    color: white;
    
    &[disabled] {
      opacity: 0.5;
    }
  }
}